import Vue from 'vue'
import Router from 'vue-router'
import Exam01 from "./components/exam/Exam01.vue"
import Exam02 from "./components/exam/Exam02.vue"
import Exam03 from "./components/exam/Exam03.vue"
import Exam04 from "./components/exam/Exam04.vue"
import ExamTabbar from "./components/exam/ExamTabbar.vue"
import Demo01 from "./components/demo/Demo01.vue"
import Parent1 from "./components/exam/Parent1.vue"
import Home from "./components/weixin/Home.vue"
import Msg from "./components/weixin/common/MesgList.vue"
import Login from "./components/xuezi/Login.vue"
import XueziHome from "./components/xuezi/Home.vue"
import Product from "./components/xuezi/Product.vue"
import Xiadong from "./components/exam/Xiadong.vue"
import Cart from "./components/xuezi/Cart.vue"
import VuexTest from "./components/vuex/Test.vue"
import Cartlist from "./components/xuezi/components/Cartlist.vue"
import Total from "./components/xuezi/components/Total.vue"

Vue.use(Router)

export default new Router({
  routes: [
    {path:'/',component:Home},
    {path:'/exam01',component:Exam01},
    {path:'/exam02',component:Exam02},
    {path:'/exam03',component:Exam03},
    {path:'/exam04',component:Exam04},
    {path:'/demo01',component:Demo01},
    {path:'/tabbar',component:ExamTabbar},
    {path:'/parent1',component:Parent1},
    {path:'/msg',component:Msg},
    {path:'/login',component:Login},
    {path:'/home',component:XueziHome},
    {path:'/product',component:Product},
    {path:'/xia',component:Xiadong},
    {path:'/cart',component:Cart},
    {path:'/cartlist',component:Cartlist},
    {path:'/total',component:Total},
    {path:'/test',component:VuexTest},
  ]
})
